package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhousx
 * @create 2020/9/4
 */
@Data
@ApiModel(value = "获取投递该职位的user列表")
public class UserResumeDTO implements BaseDTO {
    @ApiModelProperty(value = "成员ID",required = true)
    @NotNull(message = "成员ID不能为空")
    private Integer userId;

    @ApiModelProperty(value = "投递简历ID",required = true)
    @NotNull(message = "投递简历ID不能为空")
    private Integer sendId;

    @ApiModelProperty(value = "职位ID",required = true)
    @NotNull(message = "职位ID不能为空")
    private Integer jobId;

    @ApiModelProperty(value = "组织ID",required = true)
    @NotNull(message = "组织ID不能为空")
    private Integer orgId;

    @ApiModelProperty("简历ID")
    @NotNull(message = "简历ID不能为空")
    private Integer resumeId;
}